<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <button onclick="callFlutter()">调用flutter方法</button>
</body>
<script>
    function callFlutter() {
        console.log('js调用')
        Toast.postMessage("这是js 传递给flutter方法的参数")
    }
    function callJs(message) {
        alert(message)
    }
</script>
</html>